﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="views_Login" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <link rel="stylesheet"href="../assets/lib/css/bootstrap.min.css" />
    <style>
    /* 导入一个名为 Pacifico 的字体 */
    @import url('https://fonts.googleapis.com/css?family=Pacifico');
    
    .top-text {
        font-family: 'Pacifico', cursive;
        color:white;
        font-size: 60px;       
        text-align: center;
    }
    .ranking {
    position: absolute;
    top: 0;
    right: 0;
}

</style>

</head>
   

<body>
    <div class="form1">
  <img src="../assets/images/header-bg.jpg" alt="背景图片" style="position: absolute; z-index: -1; width: 100%; height: 100%;"/>
</div>

    <div class="top-text">
        <strong>欢迎来到商品免费体验与评价平台！</strong>
</div>

    
    <div class="container-fluid">
        <div class="row mt-5 mb-5">

        </div>
        <div class="row">
            <div class="col">

            </div>
            <div class="col">
                <form id="form1" runat="server">
                    
                        <div class="row">
                            <div class="col-md-4"></div>  
                            <div class="col-md-8"></div> 
                        </div>
                        
                    
               <table style="margin: auto;">
				<tr class="mt-3">
					<td for="" class="form-label" style="color:white">用户:</td>
					<td><asp:TextBox ID="txtName" runat="server" Width="460px"></asp:TextBox></td>
					<td>
						<asp:RequiredFieldValidator ControlToValidate="txtName" Display="Dynamic" ForeColor="Red" ID="rfvName" runat="server" ErrorMessage="必填"></asp:RequiredFieldValidator>
					</td>
				</tr>
				<tr class="mt-3">
					<td for="" class="forr-label" style="color:white">密码:</td>
					<td><asp:TextBox ID="txtPwd" runat="server" TextMode="Password" Width="460px"></asp:TextBox></td>
					<td>
					<asp:RequiredFieldValidator ControlToValidate="txtPwd" Display="Dynamic" ForeColor="Red" ID="rfvPwd" runat="server" ErrorMessage="必填"></asp:RequiredFieldValidator>
					</td>
				</tr>
				</table>


               <div class="mt-3 d-grid" >
                     <asp:Button Text="登录" runat="server" Class="btn-success btn" style="background-color:black; width: 300px;margin: auto;" OnClick="Unnamed1_Click"/>             
              </div>
              <div class="mt-3 d-grid">
                    <a href="customer/Register.aspx" style="color:white;margin: auto;">我要注册</a> 
                    <a href="customer/Changepassword.aspx" style="color:white;margin: auto;">找回密码</a> 
                     
              </div>

            </form>
        </div>
            <div class="col">

            </div>
        
        </div>
    </div>
    
</body>
</html>
